from django.urls import path,include
from .views import *
from myapp.md_user import *
from myapp.md_goods import  *

urlpatterns = [
    path('show/', show.as_view(), name='home'),
    path('register/', Register.as_view(), name='Register'),
    path('login/', Login.as_view(), name='Login'),
    path('mycode/', MyCode.as_view(), name='MyCode'),
    path('update/', Update.as_view(), name='Update'),
    path('weibo/', wb_back, name='wb_back'),
    path('ding/', ding_back, name='ding_back'),
    path('upload/', UploadFile.as_view(), name='uploadfile'),
    path('qiniu/', Qiniu.as_view(), name='Qiniu'),
    path('upyun/', UpYun.as_view(), name='UpYun'),
    path('update_phone/', Update_Phone.as_view(), name='Update_Phone'),
    path('getcarousel/', GetCarousel.as_view(), name='GetCarousel'),
    path('add_carousel/', add_Carousel.as_view(), name='add_Carousel'),
    # md_goods
    path('insertgoods/', InsertGoods.as_view(), name='InsetGoods'),
    path('categorylist/', CategoryList.as_view(), name='CategoryList'),
    path('goodslist/', GoodsList.as_view(), name='GoodsList'),
    path('goodinfo/', Goodinfo.as_view(), name='Goodinfo'),
    path('search/', Search.as_view(), name='Search'),
    path('commentinsert/', CommentInsert.as_view(), name='CommentInsert'),
    path('repcomment/', Rep_comment.as_view(), name='Rep_comment'),
]